package one.stand.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import one.stand.model.ResultModel;
import one.stand.response.IndustryResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author Administrator
 */
@RestController
@RequestMapping("crmApi/industry")
@Api(description = "行业系列")
public class IndustryController extends BaseController {
    @ApiOperation("行业列表")
    @GetMapping("getList")
    public ResultModel<List<IndustryResponse>> getList() {
        return crmFegin.getList();
    }
}
